From d08f18847c2c450a0545e35da14351c59523f61e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 22 Aug 2007 04:05:21 +0000 Subject: [PATCH] Paul Pogonyshev (image-type-header-regexps): Add svg entry. --- lisp/image.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/image.el b/lisp/image.el index 6763cf151fe..d63c69cafed 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -43,7 +43,8 @@ static char \\1_bits" . xbm) ("\\`\\(?:MM\0\\*\\|II\\*\0\\)" . tiff) ("\\`[\t\n\r ]*%!PS" . postscript) - ("\\`\xff\xd8" . (image-jpeg-p . jpeg))) + ("\\`\xff\xd8" . (image-jpeg-p . jpeg)) + ("\\`<\\?xml " . svg)) "Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types. When the first bytes of an image file match REGEXP, it is assumed to be of image type IMAGE-TYPE if IMAGE-TYPE is a symbol. If not a symbol, -- 2.30.2